package com.sc.nft.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.entity.DigitalCollectionProductInfoAuctionUserBiddingResults;
import com.sc.nft.entity.DigitalCollectionProductInfoAuctionUserCondition;
import com.sc.nft.entity.vo.AuctionConsumeAdminPageVO;
import com.sc.nft.entity.vo.AuctionUserBiddingAdminPageVO;
import com.sc.nft.mapper.DigitalCollectionProductInfoAuctionUserBiddingResultsMapper;
import com.sc.nft.mapper.DigitalCollectionProductInfoAuctionUserConditionMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

/**
 * @Author：LiGen
 * @Package：com.sc.nft.dao
 * @Project：sc_metago
 * @name：DigitalCollectionProductInfoAuctionDao
 * @Date：2024/9/5 14:57
 * @Filename：DigitalCollectionProductInfoAuctionDao
 */
@Slf4j
@Repository
public class DigitalCollectionProductInfoAuctionUserConditionDao extends ServiceImpl<DigitalCollectionProductInfoAuctionUserConditionMapper, DigitalCollectionProductInfoAuctionUserCondition> {


    /**
     * 消耗门槛道具总数列表
     * @param productId
     * @param page
     * @return
     */
    public Page<AuctionConsumeAdminPageVO> getauctionPropAdminPage(Long productId, Page page) {
        return baseMapper.auctionPropAdminPage(productId,page);
    }
}
